<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			// function Person() {
			// 	this.sex = 'male';
			// 	this.Name = 'rober';
			// 	this.Run = function() {
			// 		console.log(this.Name + 'is running');
			// 	}
			// }

			// let person = new Person();
			// person.Run() // rober is running
			// console.log('__proto__:',Person.__proto__)
			// console.log('prototype:',Person.prototype)
			// console.log('prototype.constructor:',Person.prototype.constructor)
			// console.log('person',person)



			// let name = '123'
			// let name = 123
			// let name = function() {
			// } function

			// Object=======================
			// 对象
			// let name = {
			// 	f: 1
			// }
			// 数组
			let name = [1,2,3]
			// null
			// let name = null 

			// let type = typeof name
			// console.log(type)

			let type = Object.prototype.toString.call(name)
			console.log(type)
		</script>
	</body>
</html>